<?php
$dbConfig = include(YDCMS_DATA . 'common.inc.php');
$AppConfig = array(
    'DEFAULT_V_LAYER'       =>  'Templets', // 默认的视图层名称
    'TMPL_FILE_DEPR'        =>  '/', //模板文件CONTROLLER_NAME与ACTION_NAME之间的分割符
    'DB_SQL_BUILD_CACHE'    => true,
    'SHOW_PAGE_TRACE'       => true, 
    // error，success跳转页面
    'TMPL_ACTION_ERROR'     => THINK_PATH . 'Tpl/dispatch_jump.tpl',
    'TMPL_ACTION_SUCCESS'   => THINK_PATH . 'Tpl/dispatch_jump.tpl',
    
    'TMPL_PARSE_STRING'  =>array(
        '__PLUS__'      => __ROOT__ . '/Public/plus',  //js插件目录
        '__UPLOAD__'    => '/Public/uploads', // 增加新的上传路径替换规则
        '__STATIC__'    => '/Static', // 静态文件目录
    ),
    'HTML_FILE_SUFFIX' => '.html'
    
);
define('HTML_PATH',      C('HTML_DIR'));
return array_merge($AppConfig, $dbConfig);